package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

//问题表
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("all")
public class Questions implements Serializable {

    private Integer id;  //主键Id
    private String paperId; //试卷Id  目前有3套试卷
    private String question; //题目
    @TableField(exist = false)
    private List<Answer> answers; // 选项

    private String password;
    private String email;
    private String password1;
    private String email1;
    private String paper_id;

}